<?php
$this->title = "Akun Saya";
$this->headTitle($this->title);
?>
<?php
 foreach ($this->message as $message) :
         echo $this->escape($message); 
 endforeach;
?>



<table>
    <tr><tr>
    <td>Nama</td><td> &nbsp; &nbsp; <?php echo $this->escape($this->admin['name']);?></td>
    </tr><tr>
    <td>Username</td><td> &nbsp; &nbsp;  <?php echo $this->escape($this->admin['username']);?></td>
    </tr><tr>
    <td>E-mail</td><td> &nbsp; &nbsp; <?php echo $this->escape($this->admin['email']);?></td>
    </tr><tr>
    <td>Password</td><td> &nbsp; &nbsp; ******** </td>
    </tr>
    <td>Telephone</td><td> &nbsp; &nbsp; <?php echo $this->escape($this->admin['phone']);?></td>
    </tr>


   
    
</table>

<div> &nbsp; &nbsp; </div>
 <?php echo $this->formButton('change_password',"Ganti Password",array("onclick" => "window.location=\"".$this->url(array('controller'=>'admin','action'=>'password','id'=>$this->id))."\";"));?>  <?php echo $this->formButton('change_phoneNumber',"Ganti No Telp",array("onclick" => "window.location=\"".$this->url(array('controller'=>'admin','action'=>'editphone','id'=>$this->id))."\";"));?>